package com.oreilly.ez.fileserver.base;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties
public class YmlConfig {

    @Value("${server.port:#{8080}}")
    private Integer port;


    @Value("${sys.uploadDir}")
    private String uploadDir;


//    @Value("${sys.confDir#{}")
//    private String confDir;


}
